local Class = require('lua.lang.Class')

--- @class LabelDescriptor : Class
--- @field identifier LuaString
--- @field pc number
--- @field sourceLine number
--- @field activeVariableCount number
local LabelDescriptor = Class {}

--- @param identifier LuaString
--- @param pc number
--- @param sourceLine number
--- @param activeVariableCount number
--- @return LabelDescriptor
function LabelDescriptor:new(identifier, pc, sourceLine, activeVariableCount)
	--- @type LabelDescriptor
	local o = {
		identifier = identifier,
		pc = pc,
		sourceLine = sourceLine,
		activeVariableCount = activeVariableCount
	}
	return setmetatable(o, LabelDescriptor)
end

return LabelDescriptor